//
//  gerenziliaoViewController.m
//  个人信息
//
//  Created by IOSchengxuyuan on 15/12/3.
//  Copyright © 2015年 com.ppfur. All rights reserved.
//

#import "gerenziliaoViewController.h"

@interface gerenziliaoViewController (){
    float aa,bb;
    float width,height;
}

@end

@implementation gerenziliaoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _f1.delegate=self;
    _f2.delegate=self;
    _f3.delegate=self;
    _f4.delegate=self;
    _f5.delegate=self;
    _f6.delegate=self;
    width=[UIScreen mainScreen].bounds.size.width;
    height=[UIScreen mainScreen].bounds.size.height;
    aa=width/320;
    bb=height/568;
    _l2.frame=CGRectMake(119*aa, 36*bb, 42*aa, 21*bb);
    _l3.frame=CGRectMake(119*aa, 74*bb, 42*aa, 21*bb);
    _l4.frame=CGRectMake(11*aa, 111*bb, 42*aa, 21*bb);
    _l5.frame=CGRectMake(11*aa, 149*bb, 42*aa, 21*bb);
    _l6.frame=CGRectMake(11*aa, 192*bb, 53*aa, 21*bb);
    _l7.frame=CGRectMake(11*aa, 233*bb, 42*aa, 21*bb);
    _bb.frame=CGRectMake(11*aa, 25*bb, 90*aa, 80*bb);
    _f1.frame=CGRectMake(158*aa, 32*bb, 148*aa, 30*bb);
    _f2.frame=CGRectMake(158*aa, 70*bb, 148*aa, 30*bb);
    _f3.frame=CGRectMake(52*aa, 107*bb, 228*aa, 30*bb);
    _f4.frame=CGRectMake(52*aa, 145*bb, 228*aa, 30*bb);
    _f5.frame=CGRectMake(72*aa, 188*bb, 228*aa, 30*bb);
    _f6.frame=CGRectMake(52*aa, 229*bb, 228*aa, 30*bb);
    _v1.frame=CGRectMake(120*aa, 60*bb, 190*aa, 1*bb);
    _v2.frame=CGRectMake(120*aa, 100*bb, 190*aa, 1*bb);
    _v3.frame=CGRectMake(11*aa, 137*bb, 300*aa, 1*bb);
    _v4.frame=CGRectMake(11*aa, 178*bb, 300*aa, 1*bb);
    _v5.frame=CGRectMake(11*aa, 222*bb, 300*aa, 1*bb);
    _v6.frame=CGRectMake(11*aa, 260*bb, 300*aa, 1*bb);
    [_bb.layer setBorderColor:[[UIColor lightGrayColor]CGColor]];
    [_bb.layer setBorderWidth:1.0f];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(keyBoardjide:)];
    tap.cancelsTouchesInView = NO;
    [self.view addGestureRecognizer:tap];

    // Do any additional setup after loading the view.
}
- (void)keyBoardjide:(UITapGestureRecognizer *)tap
{
    [_f1 resignFirstResponder];
    [_f2 resignFirstResponder];
    [_f3 resignFirstResponder];
    [_f4 resignFirstResponder];
    [_f5 resignFirstResponder];
    [_f6 resignFirstResponder];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)tianjiazhaopian:(id)sender {
    
}
@end
